import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '',
            dataIndex: 'weChatName',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'weChatCode',
            width: 200,
        },
        {
            title: '极光短信签名',
            dataIndex: 'jpushSmsSignId',
            width: 200,
        },
        {
            title: '24小时热线',
            dataIndex: 'hoursHotline24',
            width: 200,
        },
        {
            title: '菜单栏介绍',
            dataIndex: 'weChatMenuDesc',
            width: 200,
        },
        {
            title: '监督投诉专线',
            dataIndex: 'servicePhone',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'travelPhone',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'appId',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'appsecret',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'aesKey',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'token',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'otherAppId',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'otherAppsecret',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'otherToken',
            width: 200,
        },
        {
            title: '微信卡券Id',
            dataIndex: 'wxCardId',
            width: 200,
        },
        {
            title: '电话图标',
            dataIndex: 'phoneIcon',
            width: 200,
        },
        {
            title: '是否删除',
            dataIndex: 'deleted',
            width: 200,
        },
        {
            title: '更新人',
            dataIndex: 'updateUser',
            width: 200,
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            width: 200,
        },
        {
            title: '创建人',
            dataIndex: 'createUser',
            width: 200,
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '',
            field: 'weChatName',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'weChatCode',
            component: 'Input',
            required: true,
        },
        {
            label: '极光短信签名',
            field: 'jpushSmsSignId',
            component: 'Input',
            required: true,
        },
        {
            label: '24小时热线',
            field: 'hoursHotline24',
            component: 'Input',
            required: true,
        },
        {
            label: '菜单栏介绍',
            field: 'weChatMenuDesc',
            component: 'Input',
            required: true,
        },
        {
            label: '监督投诉专线',
            field: 'servicePhone',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'travelPhone',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'appId',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'appsecret',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'aesKey',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'token',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'otherAppId',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'otherAppsecret',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'otherToken',
            component: 'Input',
            required: true,
        },
        {
            label: '微信卡券Id',
            field: 'wxCardId',
            component: 'Input',
            required: true,
        },
        {
            label: '电话图标',
            field: 'phoneIcon',
            component: 'Input',
            required: true,
        },
        {
            label: '是否删除',
            field: 'deleted',
            component: 'Input',
            required: true,
        },
        {
            label: '更新人',
            field: 'updateUser',
            component: 'Input',
            required: true,
        },
        {
            label: '更新时间',
            field: 'updateTime',
            component: 'Input',
            required: true,
        },
        {
            label: '创建人',
            field: 'createUser',
            component: 'Input',
            required: true,
        },
        {
            label: '创建时间',
            field: 'createTime',
            component: 'Input',
            required: true,
        },
];
